feat: add ERROR detail to output of migration#1142
Conversation
|
Hi! Thanks for the PR! I haven't given the alternative more thought yet, but can you add one or more tests for this? More tests is especially preferred if on some cases more information is given that might be considered confidential |
|
@WikiRik Gave a quick look around and not seeing a good extension point for this test. Do you happen to know of a place? |
|
The changes just returning void and hard to test, maybe to test the |
|
@snewcomer sorry for not responding before, I took a look as well and we do not really have any tests to check our error behaviour. We'll add that in a later stage. For now, this is fine Thanks for the PR! |
|
🎉 This PR is included in version 6.5.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Pull Request check-list
npm run testpass with this change (including linting)?Description of change
close #1138
This PR adds additional error output. Currently the error output may be insufficient to hone in on the problem.
https://www.postgresql.org/docs/current/plpgsql-errors-and-messages.html
Desired behaviour -
Alternatives
Behind a debug flag. My initial hunch is to consider this a helpful feature that users get out of the box. Happy to put behind a debug flag though!